#include<stdio.h>
#include<math.h>
int main()
{
    char op;
    double s1,s2;
    scanf("%lf %c %lf",&s1,&op,&s2);
    switch(op)
    {
        case '+':
        printf("%.2lf\n",s1+s2);break;
        case '-':
        printf("%.2lf\n",s1-s2);break;
        case '*':
        printf("%.2lf\n",s1*s2);break;
        case '/':
        
            if(fabs(s2)>=(1e-6))
            printf("%.2lf\n",s1/s2);
            else
            printf("Wrong input!");
            break;
        
        default:
        printf("Wrong input!");break;
        
    }
    return 0;
}
